package com.njust.dataobject;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TrainDataExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TrainDataExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTrainOnlyidIsNull() {
            addCriterion("train_onlyid is null");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidIsNotNull() {
            addCriterion("train_onlyid is not null");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidEqualTo(Long value) {
            addCriterion("train_onlyid =", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidNotEqualTo(Long value) {
            addCriterion("train_onlyid <>", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidGreaterThan(Long value) {
            addCriterion("train_onlyid >", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidGreaterThanOrEqualTo(Long value) {
            addCriterion("train_onlyid >=", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidLessThan(Long value) {
            addCriterion("train_onlyid <", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidLessThanOrEqualTo(Long value) {
            addCriterion("train_onlyid <=", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidIn(List<Long> values) {
            addCriterion("train_onlyid in", values, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidNotIn(List<Long> values) {
            addCriterion("train_onlyid not in", values, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidBetween(Long value1, Long value2) {
            addCriterion("train_onlyid between", value1, value2, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidNotBetween(Long value1, Long value2) {
            addCriterion("train_onlyid not between", value1, value2, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andFzWarnIsNull() {
            addCriterion("fz_warn is null");
            return (Criteria) this;
        }

        public Criteria andFzWarnIsNotNull() {
            addCriterion("fz_warn is not null");
            return (Criteria) this;
        }

        public Criteria andFzWarnEqualTo(Integer value) {
            addCriterion("fz_warn =", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnNotEqualTo(Integer value) {
            addCriterion("fz_warn <>", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnGreaterThan(Integer value) {
            addCriterion("fz_warn >", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnGreaterThanOrEqualTo(Integer value) {
            addCriterion("fz_warn >=", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnLessThan(Integer value) {
            addCriterion("fz_warn <", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnLessThanOrEqualTo(Integer value) {
            addCriterion("fz_warn <=", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnIn(List<Integer> values) {
            addCriterion("fz_warn in", values, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnNotIn(List<Integer> values) {
            addCriterion("fz_warn not in", values, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnBetween(Integer value1, Integer value2) {
            addCriterion("fz_warn between", value1, value2, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnNotBetween(Integer value1, Integer value2) {
            addCriterion("fz_warn not between", value1, value2, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzAlarmIsNull() {
            addCriterion("fz_alarm is null");
            return (Criteria) this;
        }

        public Criteria andFzAlarmIsNotNull() {
            addCriterion("fz_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andFzAlarmEqualTo(Integer value) {
            addCriterion("fz_alarm =", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmNotEqualTo(Integer value) {
            addCriterion("fz_alarm <>", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmGreaterThan(Integer value) {
            addCriterion("fz_alarm >", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmGreaterThanOrEqualTo(Integer value) {
            addCriterion("fz_alarm >=", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmLessThan(Integer value) {
            addCriterion("fz_alarm <", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmLessThanOrEqualTo(Integer value) {
            addCriterion("fz_alarm <=", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmIn(List<Integer> values) {
            addCriterion("fz_alarm in", values, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmNotIn(List<Integer> values) {
            addCriterion("fz_alarm not in", values, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmBetween(Integer value1, Integer value2) {
            addCriterion("fz_alarm between", value1, value2, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmNotBetween(Integer value1, Integer value2) {
            addCriterion("fz_alarm not between", value1, value2, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgWarnIsNull() {
            addCriterion("jfg_warn is null");
            return (Criteria) this;
        }

        public Criteria andJfgWarnIsNotNull() {
            addCriterion("jfg_warn is not null");
            return (Criteria) this;
        }

        public Criteria andJfgWarnEqualTo(Integer value) {
            addCriterion("jfg_warn =", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnNotEqualTo(Integer value) {
            addCriterion("jfg_warn <>", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnGreaterThan(Integer value) {
            addCriterion("jfg_warn >", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnGreaterThanOrEqualTo(Integer value) {
            addCriterion("jfg_warn >=", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnLessThan(Integer value) {
            addCriterion("jfg_warn <", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnLessThanOrEqualTo(Integer value) {
            addCriterion("jfg_warn <=", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnIn(List<Integer> values) {
            addCriterion("jfg_warn in", values, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnNotIn(List<Integer> values) {
            addCriterion("jfg_warn not in", values, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnBetween(Integer value1, Integer value2) {
            addCriterion("jfg_warn between", value1, value2, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnNotBetween(Integer value1, Integer value2) {
            addCriterion("jfg_warn not between", value1, value2, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmIsNull() {
            addCriterion("jfg_alarm is null");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmIsNotNull() {
            addCriterion("jfg_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmEqualTo(Integer value) {
            addCriterion("jfg_alarm =", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmNotEqualTo(Integer value) {
            addCriterion("jfg_alarm <>", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmGreaterThan(Integer value) {
            addCriterion("jfg_alarm >", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmGreaterThanOrEqualTo(Integer value) {
            addCriterion("jfg_alarm >=", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmLessThan(Integer value) {
            addCriterion("jfg_alarm <", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmLessThanOrEqualTo(Integer value) {
            addCriterion("jfg_alarm <=", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmIn(List<Integer> values) {
            addCriterion("jfg_alarm in", values, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmNotIn(List<Integer> values) {
            addCriterion("jfg_alarm not in", values, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmBetween(Integer value1, Integer value2) {
            addCriterion("jfg_alarm between", value1, value2, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmNotBetween(Integer value1, Integer value2) {
            addCriterion("jfg_alarm not between", value1, value2, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnIsNull() {
            addCriterion("fzyz_warn is null");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnIsNotNull() {
            addCriterion("fzyz_warn is not null");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnEqualTo(Integer value) {
            addCriterion("fzyz_warn =", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnNotEqualTo(Integer value) {
            addCriterion("fzyz_warn <>", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnGreaterThan(Integer value) {
            addCriterion("fzyz_warn >", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnGreaterThanOrEqualTo(Integer value) {
            addCriterion("fzyz_warn >=", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnLessThan(Integer value) {
            addCriterion("fzyz_warn <", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnLessThanOrEqualTo(Integer value) {
            addCriterion("fzyz_warn <=", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnIn(List<Integer> values) {
            addCriterion("fzyz_warn in", values, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnNotIn(List<Integer> values) {
            addCriterion("fzyz_warn not in", values, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnBetween(Integer value1, Integer value2) {
            addCriterion("fzyz_warn between", value1, value2, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnNotBetween(Integer value1, Integer value2) {
            addCriterion("fzyz_warn not between", value1, value2, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmIsNull() {
            addCriterion("fzyz_alarm is null");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmIsNotNull() {
            addCriterion("fzyz_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmEqualTo(Integer value) {
            addCriterion("fzyz_alarm =", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmNotEqualTo(Integer value) {
            addCriterion("fzyz_alarm <>", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmGreaterThan(Integer value) {
            addCriterion("fzyz_alarm >", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmGreaterThanOrEqualTo(Integer value) {
            addCriterion("fzyz_alarm >=", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmLessThan(Integer value) {
            addCriterion("fzyz_alarm <", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmLessThanOrEqualTo(Integer value) {
            addCriterion("fzyz_alarm <=", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmIn(List<Integer> values) {
            addCriterion("fzyz_alarm in", values, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmNotIn(List<Integer> values) {
            addCriterion("fzyz_alarm not in", values, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmBetween(Integer value1, Integer value2) {
            addCriterion("fzyz_alarm between", value1, value2, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmNotBetween(Integer value1, Integer value2) {
            addCriterion("fzyz_alarm not between", value1, value2, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdWarnIsNull() {
            addCriterion("qd_warn is null");
            return (Criteria) this;
        }

        public Criteria andQdWarnIsNotNull() {
            addCriterion("qd_warn is not null");
            return (Criteria) this;
        }

        public Criteria andQdWarnEqualTo(Integer value) {
            addCriterion("qd_warn =", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnNotEqualTo(Integer value) {
            addCriterion("qd_warn <>", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnGreaterThan(Integer value) {
            addCriterion("qd_warn >", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnGreaterThanOrEqualTo(Integer value) {
            addCriterion("qd_warn >=", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnLessThan(Integer value) {
            addCriterion("qd_warn <", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnLessThanOrEqualTo(Integer value) {
            addCriterion("qd_warn <=", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnIn(List<Integer> values) {
            addCriterion("qd_warn in", values, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnNotIn(List<Integer> values) {
            addCriterion("qd_warn not in", values, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnBetween(Integer value1, Integer value2) {
            addCriterion("qd_warn between", value1, value2, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnNotBetween(Integer value1, Integer value2) {
            addCriterion("qd_warn not between", value1, value2, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdAlarmIsNull() {
            addCriterion("qd_alarm is null");
            return (Criteria) this;
        }

        public Criteria andQdAlarmIsNotNull() {
            addCriterion("qd_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andQdAlarmEqualTo(Integer value) {
            addCriterion("qd_alarm =", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmNotEqualTo(Integer value) {
            addCriterion("qd_alarm <>", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmGreaterThan(Integer value) {
            addCriterion("qd_alarm >", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmGreaterThanOrEqualTo(Integer value) {
            addCriterion("qd_alarm >=", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmLessThan(Integer value) {
            addCriterion("qd_alarm <", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmLessThanOrEqualTo(Integer value) {
            addCriterion("qd_alarm <=", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmIn(List<Integer> values) {
            addCriterion("qd_alarm in", values, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmNotIn(List<Integer> values) {
            addCriterion("qd_alarm not in", values, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmBetween(Integer value1, Integer value2) {
            addCriterion("qd_alarm between", value1, value2, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmNotBetween(Integer value1, Integer value2) {
            addCriterion("qd_alarm not between", value1, value2, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnIsNull() {
            addCriterion("qdyz_warn is null");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnIsNotNull() {
            addCriterion("qdyz_warn is not null");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnEqualTo(Integer value) {
            addCriterion("qdyz_warn =", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnNotEqualTo(Integer value) {
            addCriterion("qdyz_warn <>", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnGreaterThan(Integer value) {
            addCriterion("qdyz_warn >", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnGreaterThanOrEqualTo(Integer value) {
            addCriterion("qdyz_warn >=", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnLessThan(Integer value) {
            addCriterion("qdyz_warn <", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnLessThanOrEqualTo(Integer value) {
            addCriterion("qdyz_warn <=", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnIn(List<Integer> values) {
            addCriterion("qdyz_warn in", values, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnNotIn(List<Integer> values) {
            addCriterion("qdyz_warn not in", values, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnBetween(Integer value1, Integer value2) {
            addCriterion("qdyz_warn between", value1, value2, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnNotBetween(Integer value1, Integer value2) {
            addCriterion("qdyz_warn not between", value1, value2, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmIsNull() {
            addCriterion("qdyz_alarm is null");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmIsNotNull() {
            addCriterion("qdyz_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmEqualTo(Integer value) {
            addCriterion("qdyz_alarm =", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmNotEqualTo(Integer value) {
            addCriterion("qdyz_alarm <>", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmGreaterThan(Integer value) {
            addCriterion("qdyz_alarm >", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmGreaterThanOrEqualTo(Integer value) {
            addCriterion("qdyz_alarm >=", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmLessThan(Integer value) {
            addCriterion("qdyz_alarm <", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmLessThanOrEqualTo(Integer value) {
            addCriterion("qdyz_alarm <=", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmIn(List<Integer> values) {
            addCriterion("qdyz_alarm in", values, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmNotIn(List<Integer> values) {
            addCriterion("qdyz_alarm not in", values, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmBetween(Integer value1, Integer value2) {
            addCriterion("qdyz_alarm between", value1, value2, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmNotBetween(Integer value1, Integer value2) {
            addCriterion("qdyz_alarm not between", value1, value2, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andZxTempIsNull() {
            addCriterion("zx_temp is null");
            return (Criteria) this;
        }

        public Criteria andZxTempIsNotNull() {
            addCriterion("zx_temp is not null");
            return (Criteria) this;
        }

        public Criteria andZxTempEqualTo(BigDecimal value) {
            addCriterion("zx_temp =", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempNotEqualTo(BigDecimal value) {
            addCriterion("zx_temp <>", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempGreaterThan(BigDecimal value) {
            addCriterion("zx_temp >", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("zx_temp >=", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempLessThan(BigDecimal value) {
            addCriterion("zx_temp <", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempLessThanOrEqualTo(BigDecimal value) {
            addCriterion("zx_temp <=", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempIn(List<BigDecimal> values) {
            addCriterion("zx_temp in", values, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempNotIn(List<BigDecimal> values) {
            addCriterion("zx_temp not in", values, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zx_temp between", value1, value2, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zx_temp not between", value1, value2, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempIsNull() {
            addCriterion("motor_temp is null");
            return (Criteria) this;
        }

        public Criteria andMotorTempIsNotNull() {
            addCriterion("motor_temp is not null");
            return (Criteria) this;
        }

        public Criteria andMotorTempEqualTo(BigDecimal value) {
            addCriterion("motor_temp =", value, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempNotEqualTo(BigDecimal value) {
            addCriterion("motor_temp <>", value, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempGreaterThan(BigDecimal value) {
            addCriterion("motor_temp >", value, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("motor_temp >=", value, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempLessThan(BigDecimal value) {
            addCriterion("motor_temp <", value, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempLessThanOrEqualTo(BigDecimal value) {
            addCriterion("motor_temp <=", value, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempIn(List<BigDecimal> values) {
            addCriterion("motor_temp in", values, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempNotIn(List<BigDecimal> values) {
            addCriterion("motor_temp not in", values, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motor_temp between", value1, value2, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andMotorTempNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motor_temp not between", value1, value2, "motorTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempincIsNull() {
            addCriterion("zx_tempinc is null");
            return (Criteria) this;
        }

        public Criteria andZxTempincIsNotNull() {
            addCriterion("zx_tempinc is not null");
            return (Criteria) this;
        }

        public Criteria andZxTempincEqualTo(BigDecimal value) {
            addCriterion("zx_tempinc =", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincNotEqualTo(BigDecimal value) {
            addCriterion("zx_tempinc <>", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincGreaterThan(BigDecimal value) {
            addCriterion("zx_tempinc >", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("zx_tempinc >=", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincLessThan(BigDecimal value) {
            addCriterion("zx_tempinc <", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincLessThanOrEqualTo(BigDecimal value) {
            addCriterion("zx_tempinc <=", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincIn(List<BigDecimal> values) {
            addCriterion("zx_tempinc in", values, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincNotIn(List<BigDecimal> values) {
            addCriterion("zx_tempinc not in", values, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zx_tempinc between", value1, value2, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zx_tempinc not between", value1, value2, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincIsNull() {
            addCriterion("motor_tempinc is null");
            return (Criteria) this;
        }

        public Criteria andMotorTempincIsNotNull() {
            addCriterion("motor_tempinc is not null");
            return (Criteria) this;
        }

        public Criteria andMotorTempincEqualTo(BigDecimal value) {
            addCriterion("motor_tempinc =", value, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincNotEqualTo(BigDecimal value) {
            addCriterion("motor_tempinc <>", value, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincGreaterThan(BigDecimal value) {
            addCriterion("motor_tempinc >", value, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("motor_tempinc >=", value, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincLessThan(BigDecimal value) {
            addCriterion("motor_tempinc <", value, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincLessThanOrEqualTo(BigDecimal value) {
            addCriterion("motor_tempinc <=", value, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincIn(List<BigDecimal> values) {
            addCriterion("motor_tempinc in", values, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincNotIn(List<BigDecimal> values) {
            addCriterion("motor_tempinc not in", values, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motor_tempinc between", value1, value2, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andMotorTempincNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motor_tempinc not between", value1, value2, "motorTempinc");
            return (Criteria) this;
        }

        public Criteria andTrainDateIsNull() {
            addCriterion("train_date is null");
            return (Criteria) this;
        }

        public Criteria andTrainDateIsNotNull() {
            addCriterion("train_date is not null");
            return (Criteria) this;
        }

        public Criteria andTrainDateEqualTo(Date value) {
            addCriterion("train_date =", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateNotEqualTo(Date value) {
            addCriterion("train_date <>", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateGreaterThan(Date value) {
            addCriterion("train_date >", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateGreaterThanOrEqualTo(Date value) {
            addCriterion("train_date >=", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateLessThan(Date value) {
            addCriterion("train_date <", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateLessThanOrEqualTo(Date value) {
            addCriterion("train_date <=", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateIn(List<Date> values) {
            addCriterion("train_date in", values, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateNotIn(List<Date> values) {
            addCriterion("train_date not in", values, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateBetween(Date value1, Date value2) {
            addCriterion("train_date between", value1, value2, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateNotBetween(Date value1, Date value2) {
            addCriterion("train_date not between", value1, value2, "trainDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}